import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '规则名称',
    align: "center",
    dataIndex: 'rulesName'
  },
  {
    title: '规则参数',
    align: "center",
    dataIndex: 'rulesParams'
  },
  {
    title: '规则计算公式',
    align: "center",
    dataIndex: 'rulesFormula'
  },
];

// 高级查询数据
export const superQuerySchema = {
  rulesName: {title: '规则名称',order: 0,view: 'text', type: 'string',},
  rulesParams: {title: '规则参数',order: 1,view: 'text', type: 'string',},
  rulesFormula: {title: '规则计算公式',order: 2,view: 'textarea', type: 'string',},
};
